package com.northchurchcolumbus.podcast.ncpodcaster;

import java.io.File;
import java.util.Map;

public interface Uploader
{
    public static interface UploaderProgressListener
    {
        public void updateProgress(long total, long uploaded);
    }
    
    public void upload(File mp3, String directory, String newFileName, Map<String, String> credentials, UploaderProgressListener listener, boolean deleteExistingFile) throws Exception;
}
